namespace LoggingLibrary
{
    public class TimestampLoggerDecorator : ILogger
    {
        private readonly ILogger _logger;

        public TimestampLoggerDecorator(ILogger logger)
        {
            _logger = logger;
        }

        public void Log(string message)
        {
            var timestampedMessage = $"{DateTime.Now}: {message}";
            _logger.Log(timestampedMessage);
        }
    }
}